package ysq.xyg.juheapi;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 聚合结果集
 *
 * @author shengQiang yu
 * @date 2019-05-08 9:13
 */
@Data
@NoArgsConstructor
public class JuHeResultVo {

    //返回码
    private int error_code;

    //返回说明
    private String reason;

    //返回结果
    private Object result;

    public JuHeResultVo(int error_code, String reason) {
        this.error_code = error_code;
        this.reason = reason;
    }

    public JuHeResultVo(int error_code, String reason, Object result) {
        this.error_code = error_code;
        this.reason = reason;
        this.result = result;
    }
}
